/********************************************************************
	copyright (c) by tumujoy
    @created:	11/27/2011 10:35
    @filename: 	GameScene
    @author:	Gu Yanbo (gybgdhb@gmail.com)
    @brief:	    
*********************************************************************/

#ifndef inc_GAMESCENE_H_
#define inc_GAMESCENE_H_
#include<vector>
#include "GameObject.h"
#include "Character.h"
#include "Item.h"
#include "Cloud.h"
#include "Background.h"

class SceneManager
{
public:
	enum{
		S_START,
		S_GAME,
		S_OVER
	}scene_type_;
	static SceneManager& instance(); 
};
class GameScene
{
public:
	GameScene();
	~GameScene();
	void update();

protected:	
	void clear();
	void init();
	Character* m_pCharacter;
	std::vector<Item*> m_pItems;
	std::vector<Cloud*> m_pClouds;
	std::vector<Background*> m_pBackground;
	int scene_length_,current_;
private:
};



#endif //inc_GAMESCENE_H_


//
//History:
//[11/27/2011] <gybgdhb@gmail.com> created